package cn.edu.zut.hhr.mapper;

import cn.edu.zut.hhr.entity.CommodityInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 商品信息 Mapper 接口
 * </p>
 *
 * @author hhr
 * @since 2021-06-19
 */
public interface CommodityInfoMapper extends BaseMapper<CommodityInfo> {

    List<String> getLocations(Long cid);

    List<String> getTypes(Long cid);

    void insertCommodityInfo(CommodityInfo commodityInfo);

}
